package com.xrui.hbase.exception;


/** Runtime exception thrown when encoding a cell's content fails. */
public final class EncodingException extends RuntimeException {

  /**
   * Initializes an encoding exception.
   *
   * @param message Error message.
   */
  public EncodingException(String message) {
    super(message);
  }

  /**
   * Initializes an encoding exception.
   *
   * @param throwable Underlying exception, if any.
   */
  public EncodingException(Throwable throwable) {
    super(throwable);
  }
}
